<%@ page import="com.gymjournal.GymSet" %>



<div class="fieldcontain ${hasErrors(bean: gymSetInstance, field: 'note', 'error')} ">
	<label for="note">
		<g:message code="gymSet.note.label" default="Note" />
		
	</label>
	<g:select id="note" name="note.id" from="${com.gymjournal.Note.list()}" optionKey="id" value="${gymSetInstance?.note?.id}" class="many-to-one" noSelection="['null': '']"/>
</div>

<div class="fieldcontain ${hasErrors(bean: gymSetInstance, field: 'gymnastic', 'error')} required">
	<label for="gymnastic">
		<g:message code="gymSet.gymnastic.label" default="Gymnastic" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="gymnastic" name="gymnastic.id" from="${com.gymjournal.Gymnastic.list()}" optionKey="id" required="" value="${gymSetInstance?.gymnastic?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: gymSetInstance, field: 'numberOfIteration', 'error')} required">
	<label for="numberOfIteration">
		<g:message code="gymSet.numberOfIteration.label" default="Number Of Iteration" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="numberOfIteration" required="" value="${gymSetInstance.numberOfIteration}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: gymSetInstance, field: 'operatingWeight', 'error')} required">
	<label for="operatingWeight">
		<g:message code="gymSet.operatingWeight.label" default="Operating Weight" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="operatingWeight" step="any" required="" value="${gymSetInstance.operatingWeight}"/>
</div>

